package com.hibase.core.lock.compoent;

import org.aopalliance.intercept.MethodInvocation;

/**
 * 解析key
 * @author chenfeng
 * @version 1.0
 * @date 2021/10/22 11:05
 * @des https://gitee.com/cheershi
 */
public interface LockKeyBuilder {

    /**
     * 构建key
     *
     * @param invocation     invocation
     * @param definitionKeys 定义
     * @return key
     */
    String buildKey(MethodInvocation invocation, String[] definitionKeys);
}
